#pragma once


// CArrayPointDlg dialog

class CArrayPointDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CArrayPointDlg)

public:
	CArrayPointDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CArrayPointDlg();

	HICON m_hIcon;
	// Dialog Data
	enum { IDD = IDD_POINT_ARRAY_DLG };

	CLaserPoint * m_pBasePoint;
	vector<CLaserPoint> * m_pvLaserPoint;
	double m_dbWidth, m_dbHeight;
	CSpinButtonCtrl m_ctlSpinX, m_ctlSpinY, m_ctlSpinXDis, m_ctlSpinYDis;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnClose();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedBtnSave();
	afx_msg void OnBnClickedBtnCancle();
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
};
